projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f14ed47
)
* buffer.c (init_buffer): Don't assume string length fits in 'int'.
author
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 19 Jun 2011 18:27:58 +0000
(11:27 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 19 Jun 2011 18:27:58 +0000
(11:27 -0700)
src/ChangeLog
patch
|
blob
|
history
src/buffer.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index c5cb08237dee24b5be90e50a2fd9a42a228c18ea..ec90bbc3325ab9ad9fb29f2d6f95400f01961195 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,5
+1,7
@@
2011-06-19 Paul Eggert <eggert@cs.ucla.edu>
+ * buffer.c (init_buffer): Don't assume string length fits in 'int'.
+
* lread.c (invalid_syntax): Omit length argument.
All uses changed. This doesn't fix a bug, but it simplifies the
code away from its former Hollerith-constant appearance, and it's
diff --git
a/src/buffer.c
b/src/buffer.c
index fd51f50dcace462d678b336d14d243918f6d76bb..fb9b15e4c70020a17ba830e1a1e13bb039cde520 100644
(file)
--- a/
src/buffer.c
+++ b/
src/buffer.c
@@
-5083,7
+5083,7
@@
init_buffer (void)
{
char *pwd;
Lisp_Object temp;
-
in
t len;
+
ptrdiff_
t len;
#ifdef USE_MMAP_FOR_BUFFERS
{